package com.knowledge.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.knowledge.common.annotation.Excel;
import com.knowledge.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文件夹对象 t_folder
 *
 * @author zhaoyk
 * @date 2025-10-09
 */
@Data
@TableName(value = "t_folder")
@EqualsAndHashCode(callSuper = true)
public class TFolder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * "名称"
     */
    @Excel(name = "名称")
    private String name;
    /**
     * "数据集Id"
     */
    @Excel(name = "数据集Id")
    private String typeId;

    private String delFlag;
    /**
     * "用户Id"
     */
    @Excel(name = "用户Id")
    private String userId;

    // 文档数量
    @TableField(exist = false)
    private long documentNum;
}
